package com.xys.springboot_easyui_a001.mapper;

import com.xys.springboot_easyui_a001.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> findAll();

    List<User> findByConditions(User user);

    void insert(User user);

    void update(User user);

    void deletes(@Param(value = "ids") Long[] ids);
}
